package com.legal.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Schema(name = "AICasesVO", description = "AI返回的case对象的VO表")
@AllArgsConstructor
@NoArgsConstructor
public class AICasesVO {


    @Schema(description = "案件全称或简称", example = "王家村房屋拆迁补偿纠纷案")
    @TableField("case_name")
    private String caseName;

    @Schema(description = "案件分析状态：1-已分析/2-未分析", example = "已分析")
    @TableField("analysis_status")
    private String analysisStatus;

    @Schema(description = "证据材料上传状态 1-已完成 2-未上传 3-部分上传", example = "已完成")
    @TableField("evidence_upload")
    private String evidenceUpload;

    @Schema(description = "案件当前所处的法律程序阶段 1-一审, 2-二审, 3-再审,4-执行", example = "一审")
    @TableField("case_procedure")
    private String caseProcedure;

    @Schema(description = "预估胜诉概率(0-100)", example = "80")
    @TableField("victory_rate")
    private Integer victoryRate;

    @Schema(description = "案件创建日期", example = "2023-05-15")
    @TableField("create_time")
    private LocalDate createTime;

    @Schema(description = "上传的案件文件的内容", example = "这是一起关于房屋拆迁补偿的纠纷案件...")
    @TableField("case_content")
    private String caseContent;

    @Schema(description = "记录最后更新时间", example = "2023-05-15T14:30:45")
    @TableField("update_time")
    private LocalDateTime updateTime;
}
